﻿<?xml version="1.0" encoding="utf-8"?>
<applicationManifest>
  <configuration>
    <configurationRepositories>
      <configurationRepository uniqueKey="SvnMiddleware" uri="https://XXXXXXXXXXXXXXXXX" path="D:\Devel\ConfigurationRepository2" share="D:\Devel\ConfigurationRepository2" />
      <configurationRepository uniqueKey="FileSystemProvider" path="D:\Devel\ConfigurationRepository" share="D:\Devel\ConfigurationRepository" />
    </configurationRepositories>

    <groups>
      <support default="domain\mytoolTesters" dev="domain\mytoolDeveloppers" prd="domain\mytoolSupport" />
      <administrator default="domain\mytoolAdministrators" />
    </groups>

    <users>
      <mytool>
        <common dev="domain\mytool_dev" tst="domain\mytool_tst" />
      </mytool>
    </users>
  </configuration>

  <binaries>
    <binariesRepositories>
      <binariesRepository uniqueKey="FileSystem" path="D:\Devel\BinaryRepository" share="D:\devel\BinaryRepository">
        <productMapping uniqueKey="SlikSvn_v1.8.11" />
        <productMapping uniqueKey="Apache_v2.4" />
      </binariesRepository>
    </binariesRepositories>

    <products>
      <product companyName="Slik" productName="SlikSvn" version="1.8" fullVersion="1.8.11" uniqueKey="SlikSvn_v1.8.11" name="Slik Subversion 1.8.11 (x64)" packageName="Slik-Subversion-1.8.11-x64.msi" productId="C215CE2E-8A95-43E7-8FD6-C163CB945BBF"
           remoteUri="https://sliksvn.com/pub/Slik-Subversion-1.8.11-x64.msi" description="outil interaction svn en mode commande" template="SlikSvn" />

      <product companyName="Apache" productName="Apache" version="2.4" fullVersion="2.4.12" uniqueKey="Apache_v2.4" name="Apache 2.4" packageName="Apache2.4-12-win64.zip" productId=""
               remoteUri="https://www.apachelounge.com/download/VC11/binaries/httpd-2.4.12-win64-VC11.zip" description="" template="Apache" />

      <product companyName="Apache" productName="Tomcat" version="7.0" fullVersion="7.0.59" uniqueKey="Tomcat_v7.0.59" name="Tomcat 7.0" packageName="apache-tomcat-7.0.59-windows-x64.zip" productId=""
               remoteUri="http://mirrors.ircam.fr/pub/apache/tomcat/tomcat-7/v7.0.59/bin/apache-tomcat-7.0.59-windows-x64.zip" description="" template="Tomcat" />

      <product companyName="WinMerge" productName="WinMerge" version="2.14" uniqueKey="WinMerge_v2.14.0" name="WinMerge 2.14.0" packageName="WinMerge-2.14.0-Setup.exe" productId=""
               remoteUri="http://colocrossing.dl.sourceforge.net/project/winmerge/stable/2.14.0/WinMerge-2.14.0-Setup.exe"  description="outil de comparaison fichiers et Folders" template="WinMerge" />

      <product companyName="Erlang" productName="Erlang" version="5.9.3.1" uniqueKey="Erlang_v15B03-1" name="Erlang OTP R15B03 (5.9.3.1)" packageName="otp_win64_R15B03-1.exe" productId=""
               installArguments="/S" remoteUri="http://www.erlang.org/download/otp_win64_R15B03-1.exe" description="Runtime d'exécution pour RabbitMQ" template="Erlang" />

      <product companyName="RabbitMQ" productName="RabbitMQ" version="3.4.2" uniqueKey="RabbitMq_v3.4.2" name="RabbitMQ Server" packageName="rabbitmq-server-3.4.2.exe" productId=""
               installArguments="/S" remoteUri="https://www.rabbitmq.com/releases/rabbitmq-server/v3.4.2/rabbitmq-server-3.4.2.exe" description="Logiciel de transfert Asynchrone de type messaging" template="RabbitMQ" />

      <product companyName="ELK" productName="Logstash" version="1.4.2" uniqueKey="Logstash_v1.4.2" name="LogStash" packageName="logstash-1.4.2.zip" productId=""
               installArguments="" remoteUri="https://download.elasticsearch.org/logstash/logstash/logstash-1.4.2.zip" description="Logiciel de capture, transformation et transferts de logs" template="LogStashInstall" />

      <product companyName="Oracle" productName="Java" version="1.7" fullVersion="1.7.0_75" uniqueKey="Jdk_v1.7_x64" name="Java SE Development Kit 7 Update 75 (64-bit)" packageName="jdk-7u75-windows-x64.exe" productId="64A3A4F4-B792-11D6-A78A-00B0D0170710"
               installArguments="/s" remoteUri="http://download.oracle.com/otn-pub/java/jdk/7/jre-7-windows-x64.exe" description="Framework d'exécution Java" template="javaPackage" />

      <!-- Oralce links
      http://download.oracle.com/otn-pub/java/jdk/7u75-b13/jdk-7u75-windows-x64.exe
      http://download.oracle.com/otn-pub/java/jdk/7u76-b13/jdk-7u76-windows-x64.exe
      http://download.oracle.com/otn-pub/java/jdk/7u75-b13/server-jre-7u75-windows-x64.tar.gz
      -->

      <product companyName="Oracle" productName="Java" version="1.7" uniqueKey="Jce_v1.7" name="Java Cryptography Extension (JCE)" packageName="UnlimitedJCEPolicyJDK7.zip" productId=""
               remoteUri="http://download.oracle.com/otn-pub/java/jce/7/UnlimitedJCEPolicyJDK7.zip" description="Unlimited Strength Jurisdiction Policy Files" template="JavaJce" />

      <product companyName="Microsoft" productName="DscResources" version="1.0" uniqueKey="Microsoft_DscResources_v1.0" packageName="MicrosoftDscResources_20150131.zip" productId=""
                 remoteUri=""  description="DSC Resources for managed servers provided by Microsoft" template="MicrosoftDscResources" />

      <product companyName="MESF" productName="DscResources"  version="1.0" uniqueKey="MESF_DscResources_v1.0" packageName="MESFDscResources_20150304.zip" productId=""
                 remoteUri=""  description="DSC Resources for managed servers provided by MESF" template="MESFDscResources" />

      <product companyName="MESF" productName="PowershellModules"  version="1.0" uniqueKey="MESF_PowershellModules_v1.0" packageName="MESFPowershellModules_20150304.zip" productId=""
             remoteUri=""  description="Powershell Modules for managed servers provided by MESF" template="MESFPowershellModules" />

    </products>

    <components>
      <component companyName="Jamona" productName="Jamona" name="Jamona" version="2.81" description="" packageName="jamon.war" packageUri="https://mesf.svn.codeplex.com/svn/Main/Tools" configurationUri="https://mesf.svn.codeplex.com/svn/Main/ApplicationServices" template="JamonaWar" />
    </components>

    <templates>

      <component uniqueKey="JamonaWar" packageType="War" componentType="Tomcat" binariesRepository="FileSystem">
        <folder uniqueKey="InstallationDirectory" path="" relative="true" />
        <dependency uniqueKey="java" type="product" productUniqueKey="Jdk_v1.7_x64" />
      </component>

      <product uniqueKey="StandardExecutableInstaller" packageType="Package" componentType="files" installArguments="/QUIET /PASSIVE /NORESTART" />

      <product uniqueKey="javaPackage" packageType="Package" componentType="files" installArguments="/S">
        <folder uniqueKey="InstallationDirectory" path="Java\$(Container:fullVersion)" relative="true">
        </folder>
      </product>

      <product uniqueKey="javaArchive" packageType="Archive" componentType="files" binariesRepository="FileSystem">
        <folder uniqueKey="InstallationDirectory" path="Java\$(Container:fullVersion)" relative="true" />
        <folder uniqueKey="InstallationDirectory2" path="Java\$(Container:fullVersion)" relative="true" />
      </product>


      <product uniqueKey="JavaJce" packageType="Archive" componentType="files" >
        <folder uniqueKey="InstallationDirectory" path="jre\lib\security" relative="true" />
        <dependency uniqueKey="java" type="product" productUniqueKey="Jdk_v1.7_x64" />
      </product>

      <product uniqueKey="SlikSvn" packageType="Package" componentType="files" installArguments="/QUIET /NORESTART">
        <folder uniqueKey="InstallationDirectory" path="SlikSvn_$(local:(product.version))" relative="true">
        </folder>
      </product>

      <product uniqueKey="Apache" packageType="Archive" componentType="WindowsService" executablePath="bin\httpd.exe" executableArguments="-k runservice">
        <folder uniqueKey="ApacheContentDirectory" path="" relative="true" parentFolder="InstallationDirectory">
          <folder uniqueKey="ConfigurationDirectory" path="conf" relative="true" >
            <configurationRepository />
          </folder>
          <folder uniqueKey="DocumentsDirectory" path="htdocs" relative="true">
          </folder>
        </folder>
      </product>

      <product uniqueKey="Tomcat" packageType="Archive" componentType="WindowsService"
               executablePath="bin\Tomcat7.exe" executableArguments="//RS//$(local:serviceName)"
               rootRegistryKey="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0"
               InstallerPath="bin\services.bat" installArguments="install $(local:serviceName)" binariesRepository="FileSystem">
        <!-- Registry Keys -->
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Log" ValueType="string" ValueName="StdError" ValueData="auto" />
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Log" ValueType="string" ValueName="StdOutput" ValueData="auto" />
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="string" ValueName="Jvm" ValueData="$(Dependency:Java.Folders.InstallationDirectory.FullPath)\lib\jvm.dll" />
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Start" ValueType="string" ValueName="Class" ValueData="org.apache.catalina.startup.Bootstrap" />
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Start" ValueType="string" ValueName="Mode" ValueData="jvm" />
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Start" ValueType="Multistring" ValueName="Params" ValueData="start" />
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Stop" ValueType="string" ValueName="Class" ValueData="org.apache.catalina.startup.Bootstrap" />
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Stop" ValueType="string" ValueName="Mode" ValueData="jvm" />
        <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Stop" ValueType="Multistring" ValueName="Params" ValueData="stop" />

        <!-- Java option standard sur service Tomcat-->
        <javaOption name="java.util.logging.manager" value="org.apache.juli.ClassLoaderLogManager">
          <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="Multistring" ValueName="Options" />
        </javaOption>

        <folder uniqueKey="Catalina.Home" path="Apache-tomcat-$(Container:fullVersion)" relative="true" parentFolder="InstallationDir">
          <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Start" ValueType="string" ValueName="WorkingPath" />
          <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Stop" ValueType="string" ValueName="WorkingPath" />
          <javaOption name="catalina.home">
            <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="Multistring" ValueName="Options" />
          </javaOption>
          <file uniqueKey="bootstrap.jar" path="bin\bootstrap.jar" relative="true">
            <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="string" ValueName="Classpath" MergePattern=";" />
          </file>
          <file uniqueKey="tomcat-juli.jar" path="bin\tomcat-juli.jar" relative="true">
            <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="string" ValueName="Classpath" MergePattern=";" />
          </file>
        </folder>
      </product>

      <product uniqueKey="WinMerge" packageType="Package" componentType="files" installArguments="/VERYSILENT /SP- /NORESTART" >
        <folder uniqueKey="InstallationDirectory" path="WinMerge_$(local:(product.version))" relative="true">
        </folder>
      </product>

      <product uniqueKey="MicrosoftDscResources" packageType="Archive" componentType="files" binariesRepository="FileSystem">
        <folder uniqueKey="InstallationDirectory" path="MicrosoftDscResources" relative="true">
          <environment name="PSModulePath" />
        </folder>
      </product>

      <product uniqueKey="MESFDscResources" packageType="Archive" componentType="files" binariesRepository="FileSystem">
        <folder uniqueKey="InstallationDirectory" path="MESFDscResources" relative="true">
          <environment name="PSModulePath" />
        </folder>
      </product>

      <product uniqueKey="MESFPowershellModules" packageType="Archive" componentType="files" binariesRepository="FileSystem">
        <folder uniqueKey="InstallationDirectory" path="MESFModules" relative="true">
          <environment name="PSModulePath" />
        </folder>
      </product>

    </templates>
  </binaries>

  <templates>
    <!-- Each template must have a unique key to register the xml data in the templates collection -->
    <folders>
      <folder uniqueKey="RootLoggingDirectory" path="D:\temp\logs" share="Logs" relative="false" />
      <folder uniqueKey="RootTemporaryDirectory" path="D:\temp\Temp" relative="false" />
      <folder uniqueKey="RootDeliveryFolder" path="D:\temp\delivery" share="Delivery" relative="false" />
      <folder uniqueKey="RootSourceDirectory" path="D:\temp\Sources" share="Sources" relative="false" />
      <folder uniqueKey="RootToolsDirectory" path="D:\temp\Tools" relative="false" scope="Tooling" />
      <folder uniqueKey="RootMiddlewareDirectory" path="D:\temp\Middleware" relative="false"/>
      <folder uniqueKey="RootApplicationDirectory" path="D:\temp\Applications" relative="false" />
      <folder uniqueKey="Program64BitsDirectory" path="C:\Program Files" relative="false" />
    </folders>

    <middlewares>
      <middleware uniqueKey="BusinessObjectsTomcat" name="Business Objects Tomcat" type="Tomcat" >
        <productMapping uniqueKey="Apache_v2.4" serviceName="ApacheBO" ensure="Present" binariesRepository="FileSystem" listenPort="8008" parentFolder="ApacheDeploymentDirectory">
          <folder uniqueKey="InstallationDirectory" path="V$(Container:Version)" relative="true" />
        </productMapping>
        <executionContainers>
          <executionContainer uniqueKey="BusinessObjectsTomcat" serviceName="TomcatBO" name="Business Objects Tomcat" behaviorType="productMapping" behaviorKey="Tomcat_v7.0.59" parentFolder="TomcatDeploymentDirectory">
            <dependency uniqueKey="java" type="product" productUniqueKey="Jdk_v1.7_x64" />
            <!--Jvm memory configuration-->
            <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="Dword" ValueName="JvmMs" ValueData="128" />
            <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="Dword" ValueName="JvmMx" ValueData="256" />

            <folder uniqueKey="InstallationDirectory" path="" relative="true" />

            <!--Catalain base definition for this tomcat instance = tomcat_home-->
            <folder uniqueKey="catalina.base" path="SimpleTomcat" relative="true">
              <javaOption name="catalina.base">
                <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="Multistring" ValueName="Options" />
              </javaOption>
            </folder>
            <folder uniqueKey="LoggingDirectory" path="logs" relative="true" parentfolder="catalina.base">
              <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Log" ValueType="string" ValueName="Path" />
            </folder>
            <folder uniqueKey="endorsed" path="endorsed" relative="true" parentfolder="catalina.base">
              <javaOption name="java.endorsed.dirs">
                <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="Multistring" ValueName="Options" />
              </javaOption>
            </folder>
            <folder uniqueKey="ApplicationDirectory" path="webapps" relative="true" parentfolder="catalina.base"/>
            <folder uniqueKey="WorkingDirectory" path="work" relative="true" parentfolder="catalina.base"/>
            <folder uniqueKey="ConfigurationDirectory" path="conf" relative="true" parentfolder="catalina.base">
              <configurationRepository />
              <file uniqueKey="LoggingFile" path="logging.properties" parentfolder="catalina.base">
                <javaOption name="java.util.logging.config.file">
                  <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="Multistring" ValueName="Options" />
                </javaOption>
              </file>
            </folder>
            <folder uniqueKey="TemporaryDirectory" path="temp" relative="true" parentfolder="catalina.base">
              <javaOption name="java.io.tmpdir">
                <registry key="$(Container:rootRegistryKey)\$(Container:serviceName)\Parameters\Java" ValueType="Multistring" ValueName="Options" />
              </javaOption>
            </folder>
            <folder uniqueKey="LibraryDirectory" path="lib" relative="true" parentfolder="catalina.home">
              <file uniqueKey="jdbOracleDriver" path="ojdbc7.jar" source="$(Dependency:Java.Folders.InstallationDirectory.FullPath)\test.xml" />
            </folder>
          </executionContainer>
        </executionContainers>
      </middleware>
    </middlewares>

    <servers>
      <server uniqueKey="BusinessObjectServer" os="W2K8R2" cluster="false" winrmPort="5985" ApplicationManagementModule="Application.Management" autoDownload="true">
        <products>
          <!--<productMapping uniqueKey="Visio_2010" ensure="Present" binariesRepository="FileSystem" parentFolder="ToolsDirectory" />-->
          <productMapping uniqueKey="Microsoft_DscResources_v1.0" ensure="Present" binariesRepository="FileSystem" parentFolder="ToolsDirectory" />
          <productMapping uniqueKey="SlikSvn_v1.8.11" ensure="Present" binariesRepository="FileSystem" parentFolder="ToolsDirectory" />
          <productMapping uniqueKey="MESF_DscResources_v1.0" ensure="Present" binariesRepository="FileSystem" parentFolder="ToolsDirectory" />
          <productMapping uniqueKey="WinMerge_v2.14.0" ensure="Present" binariesRepository="FileSystem" parentFolder="ToolsDirectory" />
          <productMapping uniqueKey="MESF_PowershellModules_v1.0" ensure="Present" binariesRepository="FileSystem" parentFolder="ToolsDirectory" />
          <productMapping uniqueKey="Jdk_v1.7_x64" ensure="Present" binariesRepository="FileSystem" parentFolder="Program64BitsDirectory" template="javaArchive">
            <plugin uniqueKey="Jce_v1.7" ensure="Present" binariesRepository="FileSystem" />
          </productMapping>
        </products>
        <folders>
          <!-- The Source Directory is mandatory : TODO Add this mapping from the productMapping element-->
          <folderMapping uniqueKey="RootLoggingDirectory" />
          <folderMapping uniqueKey="RootTemporaryDirectory" />
          <folderMapping uniqueKey="RootDeliveryFolder" />
          <folderMapping uniqueKey="RootSourceDirectory" />
          <folderMapping uniqueKey="RootToolsDirectory" />
          <folderMapping uniqueKey="RootMiddlewareDirectory" />
          <folderMapping uniqueKey="RootApplicationDirectory" />
          <folderMapping uniqueKey="Program64BitsDirectory" />
          <folder uniqueKey="TomcatDeploymentDirectory" path="Tomcat" relative="true" parentFolder="RootMiddlewareDirectory" />
          <folder uniqueKey="ApacheDeploymentDirectory" path="Apache" relative="true" parentFolder="RootMiddlewareDirectory" />
        </folders>
        <middlewares>
          <middlewareMapping uniqueKey="BusinessObjectsTomcat" />
        </middlewares>
      </server>
    </servers>

  </templates>

  <applications>
    <application uniqueKey="BOInfrastructure_v1.0" applicationName="BOInfrastructure" version="1.0">
      <components>
        <component uniqueKey="Jamona" name="Jamona" ComponentName="Jamona" version="2.81" parentFolder="ApplicationDirectory" />
      </components>
    </application>
  </applications>

  <servers>
    <server hostName="xxxtst03p" template="BusinessObjectServer" mainIpAdress="127.0.0.1" />
    <server hostName="xxxtst01p" template="BusinessObjectServer" />
    <server hostName="xxxtst02p" template="BusinessObjectServer" />
    <server hostName="xxxuat03p" template="BusinessObjectServer" />
    <server hostName="xxxuat01p" template="BusinessObjectServer" />
    <server hostName="xxxuat02p" template="BusinessObjectServer" />
    <server hostName="xxxprd11p" template="BusinessObjectServer" />
    <server hostName="xxxprd12p" template="BusinessObjectServer" />
    <server hostName="xxxprd13p" template="BusinessObjectServer" />
  </servers>

  <deploymentTargets>
    <deploymentTarget environment="DEV" applicationName="BOInfrastructure" version="1.0" configurationRepository="SvnMiddleware">
      <deploymentNode Name="xxxtst03p" hostName="xxxtst03p">
        <component uniqueKey="Jamona" middlewareTarget="Tomcat" executionContainer="BusinessObjectsTomcat" />
      </deploymentNode>
    </deploymentTarget>
  </deploymentTargets>
</applicationManifest>


